package com.rightsidetech.trade.dtos.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Pattern;
import java.io.Serializable;

@Data
public class TdCheckAfterServiceReq implements Serializable {
    @ApiModelProperty(value = "订单编号",required = true)
    @NotBlank(message = "订单编号不能为空")
    private String orderNo;

    @ApiModelProperty("审核状态: 1-同意, -1-拒绝")
    @NotBlank(message = "审核状态不能为空")
    @Pattern(regexp = "^-1|1$",message = "审核状态不正确")
    private String status;
}
